package com.maimao.model.echarts.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author MaoLin Wang
 * @date 2021/3/28 6:21 下午
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class ChartsResult<T> {
    private EchartsOption<T> option;

    private Object other1;

    private Object other2;

    public ChartsResult(EchartsOption<T> option, Object other1) {
        this.option = option;
        this.other1 = other1;
    }

    @Override
    public String toString() {
        return "ChartsResult{" +
                "option=" + option +
                ", other1=" + other1 +
                ", other2=" + other2 +
                '}';
    }
}
